import 'package:flutter/material.dart';

class AppBarDemo extends StatefulWidget {
  AppBarDemo({Key key}) : super(key: key);

  @override
  _AppBarDemoState createState() => _AppBarDemoState();
}

class _AppBarDemoState extends State<AppBarDemo> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
          // leading: BackButton(),
          // elevation: 10,
          // shape:
          //     RoundedRectangleBorder(borderRadius: BorderRadius.circular(20)),
          actions: <Widget>[
            IconButton(
              icon: Icon(Icons.menu, size: 28, color: Colors.red),
              onPressed: () {},
            ),
            IconButton(
              icon: Icon(Icons.add),
              onPressed: () {},
            ),
          ], title: Text('GGB学习')),
      drawer: Drawer(),
    );
  }
}
